made timeout a public variable

This was done so it could be configured prior to use.

Not sure if this is what you had planned for fixing #2, but it should do that. Let me know if you would prefer a different approach.