Fixed disposing exception

-Added ping pong to client
-Fixed disposing exception