added waitandclose service