not close rsync window immediately when finish, close after 5s