Implemented orders closing