handle server interruption
improve delOrder