web socket abort crash

Fixes crash when calling connection stop on a web socket transport.