small sleep to allow server recognise disconnected client.