Window_Closing implemented to cancel orders