Don't signal if it's not in the main thread