Prevent exception if there is no work to do