<!-- Love localstack? Please consider supporting our collective:
👉  https://opencollective.com/localstack/donate -->

# Type of request: This is a ...

[x] bug report
[ ] feature request

# Detailed description
When I run localstack on Jenkins, I get:
```
<ErrorResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"> <Error> <Type>Sender</Type> <Code>AWS.SimpleQueueService.NonExistentQueue</Code> <Message>The specified queue does not exist for this wsdl version.</Message> <Detail/> </Error> <RequestId>F31Y6CVCNXCG3WA0U9JHKH734H2YOTJW0087VX8HEC5I716VNVQH</RequestId> </ErrorResponse>
```
for:
```
curl "localstack:4576?Action=GetQueueUrl&QueueName=jobs"
```

Although the queue was created:
```
[36mlocalstack_1  |[0m /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initaws.d/create-sqs-queue.sh
[36mlocalstack_1  |[0m {
[36mlocalstack_1  |[0m     "QueueUrl": "http://localstack:4576/000000000000/jobs"
[36mlocalstack_1  |[0m }
```

This worked for us until a few days ago.

## Expected behavior
The job will be created and ready

## Actual behavior
Queue not found (404)

# Steps to reproduce
```
awslocal sqs create-queue --queue-name jobs;
```


## Command used to start LocalStack
docker

## Client code (AWS SDK code snippet, or sequence of "awslocal" commands)
```
awslocal sqs create-queue --queue-name jobs;
```

""" A context manager that captures stdout/stderr of the current thread. Use it as follows:
        with CaptureOutput() as c:
            ...
        print(c.stdout(), c.stderr())
    """
    orig_stdout = sys.stdout
    orig_stderr = sys.stderr
    orig___stdout = sys.__stdout__
    orig___stderr = sys.__stderr__
    CONTEXTS_BY_THREAD = {}
    class LogStreamIO(io.StringIO):
        def write(self, s):
            if isinstance(s, str) and hasattr(s, 'decode'):
                s = s.decode('unicode-escape')
            return super(CaptureOutput.LogStreamIO, self).write(s)
    def __init__(self):