check slow worker is defined before shutting it down