added timeout from settings