A MAC Protocol For Harsh Industrial IoT Applications