Remove debug logs and clean up worker