Terror attack thwarted at Karachi Naval Dockyard