 		ic.workspace = workspace
 		self.delegate = delegate
 		setupWebSocketHandlers()
-
-		// TODO: Should no longer be necessary. remove
-//		//setup a timer to send keep alive messages every 2 minutes
-//		let start = DispatchTime.now() + DispatchTimeInterval.seconds(120)
-//		keepAliveTimer.schedule(deadline: start, repeating: .seconds(120), leeway: .milliseconds(100))
-//		keepAliveTimer.setEventHandler { [unowned self] in
-//			_ = self.sendMessage(json: .dictionary(["msg": .string("keepAlive")]))
-//		}
-//		keepAliveTimer.resume()
 	}
 	
 	///opens the websocket with the specified request

			return nil
		case .variables(_):
			return nil
		}
	}
	

	
	fileprivate var openObserver: Signal<Double, Rc2Error>.Observer?
	public fileprivate(set) var connectionOpen: Bool = false
	
	///if we are getting variable updates from the server
	fileprivate var watchingVariables: Bool = false
