add timeout to server requests. closes #10