Http timeout

Closes #1