close the logger filehandler on exit