Unlock mutex even when worker is aborted