Hang call got problem

hey

While hanging the call am just close remote local stream and also I close peer connection by pc.close()

and when I re-offer its say peer connection is null and signaling also no stable

var pc = () => {
        var pc = new RTCPeerConnection(Constents.pc_config);
        return pc;
}

this is my const where i create and re-use the peer