Fixed SocketCommunication

Known issue concurrent host and kernel invocations of getValue() result
in freeze (fixed by timeout)