Don't hang in WebKitAPITest if no messages have been posted