emit listening event once server has started