Hello again,
you are right. 3 seconds is to long to wait. but it is better than 30

Thank you for that modified version... but it is still not working. Now I got another issue:
The Authentication is wrong.
I looked into the logs and there is a strange behavior to check if the gitlab server is available.
1. A request is send to:
/api/v4/projects/182/issues/2147483647 with an API Token (which is valid).
This is ok, but I'm confused about the issue-id
2147483647. This issue doesn't exists so the server get an
404 not found.
2. Then a second request is send to:
/api/v4/user which looks good, BUT there is
NO ApiToken in the request. So the Server got an
401 Unauthorized
More requests are not possible because of an exception, that the
username/token is invalid, which is not the case.