Fixed market connection error message printing
Clear websocket recv buffer on close