did you cut them before the socket or just splice into them
if you just cut the socket off then when you touch them together then it may be tripping a ciruit breaker and shutting the lights off or blowing a fuse