added -w option for client to increase timeout for getlog and getoutput