[NT] A little bit safer shutdown of crawler and taskserver