 	func webSocketOpen() {
 		print("Websocket opened!")
 		wsRetries = 0
+		DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + DispatchTimeInterval.seconds(10)) {
+			if !self.recievedMessage {
+				self.ws.close()
+			}
+		}
 	}
 	
 	func webSocketClose(_ code: Int, reason: String, wasClean: Bool) {

	}
	
	@objc func webSocketMessageText(_ text: String) {
		do {
			guard let json = try client.parseJSON(text) as? NSDictionary else {
				throw EventError.jsonParsingFailed(json: text)

	let client: Client
	let roomID: Int
	
	var recievedMessage = false
	
	var delegate: ChatRoomDelegate?
	
	fileprivate var pendingLookup = [ChatUser]()
