Attempts to fix deadlock in SctpConnection.