Adding error for termination of client window