fix crashing/hanging problem when csoundReset called multiple times
fix crashing/hanging problem when csoundReset called multiple times

nikhilsinghmus/csound,nikhilsinghmus/csound,nikhilsinghmus/csound,nikhilsinghmus/csound,nikhilsinghmus/csound,nikhilsinghmus/csound,nikhilsinghmus/csound,nikhilsinghmus/csound,nikhilsinghmus/csound,nikhilsinghmus/csound