Removed unreachable code

exit() terminates execution of the script.
Shutdown functions and object destructors will always be executed, but there is no chance to execute $app->close(0);