prevent postmessage error from stopping new message check