Turkish court rejects former commander's plea for release