Reuse connection in checkTranscacheEmpty.php

Change-Id: Id7ce89e4cb0603917142c51187f8989f2c8dfd4d