Handling exception thrown when the driver might not be working.