Protect against faulty return messages from Libswift