As mentioned above, would be good to add another `port_is_available` check right after this, since KA Lite might have been killed without freeing up the port (if KA Lite was behind a proxy).