Added timeout to command