Avoid accessing a mutex-protected connection attribute inside signal trap context.