sleep on the server 5 sec and close clientside first