implement a way to abort workers