prototype of the delayed close