simple bash script to keep server running after an expected shutdown