Remove unneeded signal mask in connection thread

Threads inherit the signal mask from the parent thread. There is no need
to set the signal mask again.

A new test ensures that build will fail if this does not work as
documented on some platform.
Revert "Revert "Disable "--pre"""

This reverts commit 9901544a126979e611825af361547e3c49419553.