Asynchronous Resilient Wireless Sensor Network for Train Integrity Monitoring