port_close option to close port on statement or connection close