Avoid calling CFMessagePortCreateLocal on Android as it's not implemented.
Catch signals during unit tests