set debug level
use keep_alive socket to ensure downloads complete
check state only does that