Prevent closing program while running servers