trying to fix bug where the application closes after a successful
command. We want it to stay open after successful commands.