An “open port” is really a daemon running on the device recursively. If that process is stopped, the port will be closed. It could be that the daemon has instructions within its code to stop once a transmission is received. It could also be that a network management tool has done a port sweep and closed all unnecessary ports – that is, killed non-essential services that expect to receive data on the network.