Cleanup stuff
Handle max workers per node correctly