Tried to fix heartbeat and close timeout.