Fixed overriding old errors by job task timeout error.
Resolved #85 - added bender.stop API to gracefuly detach plugins before shutting down the application.
Removed unused variables.