Fix Exception self-suppression

An exception can not add itself to the suppression list.  This can happen
when code throws the same exception instance in close.
Implement MockRemoteTask.getNodeId()
Fix deadlock

Enabling node-scheduler.multiple-tasks-per-node-enabled could cause a
deadlock in the stage execution