[kmf-jsonrpcconnector] Added timeout when connecting through web sockets

Change-Id: I244a13392d545c82c035c6051c312d95242a20a5