Add acquire timeout

I got the problem that the backend didn't respond on time and so the waitingClients queue got really huge.