Resolved #85 - added bender.stop API to gracefuly detach plugins before shutting down the application.