Removed unnecessary before and after blocks in Connection spec.