Fix threading error on start/stop of NCPA listener