By switching from server to client back and forth I configured the client to connect to itself. Client went waiting. On de server site I got a 'too many connections' for the same db server.

Maybe a check somehow for the connection is worth a try. It is not so usefull to connect to the services on the same host anyhow.