added ability to terminate swift workers