Implement MockRemoteTask.getNodeId()
Fix deadlock

Enabling node-scheduler.multiple-tasks-per-node-enabled could cause
tasks to get "lost"