Fix: start recording after a connection is accepted