Fix closing_date in common before sql close request