Close RailsApp