Adds some infrastructure for RPC returns (any value, false or exception will remove the worker from the active list and add it to the inactive list, to be reconnected to later)