try {
Link receiveLink = connectionLinks.getReceiveLink();
LinkMessage msg = receiveLink.receive();
byte[] data = msg.extractData();
return new SystemServiceReadMessage(data);
} catch (ClosedLinkException e) {
throw new SystemServiceConnectionClosedException();
} catch (InterruptedIOException e) {
connectionLinks.close();
throw new SystemServiceConnectionClosedException();
} catch (IOException e) {
connectionLinks.close();
throw new SystemServiceConnectionClosedException();
}