emit on connect to prevent delay