Make sure to close latch and zk before restarting, since we construct new ones.