added configurable timeout and updated readme