do pclose automatically