Changed timeout so that it does not kill prematurely