added timeout and error recovery to the get op and some bugfixes