Would be a fun challenge to implement some kind of system that runs in parallel and manages the connection properly.