Catch error when contacting schedd during the status. Fixes #4364