Fixed memory leak on reconnect. #94