refactor: cleanup ready message conditions check in worker code