Added delayed close with successMessage (default=2000ms)