handle query timeouts
add setup.py