Tran with timeout

When the network is partitioned after launching the servers, the server swill get blocked for 45 seconds when sending POST request to the servers in another network group.  That is because of the default connection time out is 45 seconds. But in fact, the time out only needs to be just one heartbeat,  so I add the `waitResponse` function to set the time out equals one heartbeat by default.