[TEST] Check if worker if null to prevent NPE on double stopping