fixing irresponsive client issue