JobManager: Added methods for getting events and creating events, raise Exception if autoretry() fails after maximum number of attempts has been exceeded.