Tests: prevent infinity wait when waiting for SIP message