libnvcore: update copyright header
libnvcore: when p2p fail, clear the memory
nvagent: handle ctrl-c and free all the used memory