Added a TimeUnit parameter to the methods checkLastHeartbeat checkLastQueryReply and checkLastQueryRequest, which is alot clearer than implicitly expecting a time duration in milliseconds