call beforePerform before retrieving an instance of the job class