fixed some memory leaks in signalr client
worked on signalr server