got rid of that terrible restart script and moved ndy to a proper server instead, where i can count on a shell process actually surviving for longer than 3 hours