added sleep and client reconnection to auth