added a ping to check if the other server is there

this still is still blocking the program for a second.