change to logging.

removed timeout