Fixing bug in BlockManager timeout