better logging for timeout