add pong and write deadlines to the server class, this should hopefully kill the leaked go routines issue