Handling empty AsyncJob table when cleaning up.