Hi,
How are you running the standalone.sh? From a script or manually from prompt? If you are running it from the prompt, then it is up to how you launch it depending on the session you have opened. For example, if I access through a SSH client and I run it as is (i.e. ./standalone.sh) then it will behave as you described. If you wish to run it in the background etc, you need to launch accordingly to your OS, for example: # standalone.sh &
This depends on your Linux OS, and you can refer to the OS documentation on how to run it on the background.
If you are using a script to run it, it should be checked to see why it behaves this way.
I hope it helps.