#2791: improved checkpointing (task is paused and sent back to the server, new one is assigned via next heartbeat)