Adding default timeout.
Adding timeout handler.