Change error message of refused to send jobs to grid scheduler. Fixes #4523.