When a closed websocket is detected set a flag to prevent further status updates until the websocket is removed. Also make sure that the associated subscriptions are removed if a closed websocket is detected during a notification. Signed-off-by: Eric Callahan <arksine.code@gmail.com>