A man fell a sleep while doing work on a train