Add sth to close Flask server.