Added wrapper to SamDB to reconnect on search exception

Only in ERR_OPERATIONS_ERROR.

Second attempt :two: :)