added automatic timeout for get() and set() commands