Cleanup initialization of `Job` and `Tunnel` instances.