explicit emit() inside waitSignal blocks now works