Man set fire to hospital over waiting time