Changed timeout to 20 seconds and heartbeat to 3