Shut down the application gracefully.
Usage
shutdown(force=False)
force: bool = False
If True, force immediate shutdown.