Implement check for thread interruption while checking objects for update.
This will allow the server to shutdown while a check job is running
without having to wait for it to finish.