added try except to record(h._ref_t) in case causing seg fault with multiple cores - error msg
added try except to record(h._ref_t) in case causing seg fault with multiple cores - error msg

thekerrlab/netpyne,Neurosim-lab/netpyne,Neurosim-lab/netpyne