Fixed wrong call closing