close with progress