Added timeout for request (closes #179)