Explicitly close any option connections before quiting application