Revamp ipc_destroy()
Clear IPC events on endpoint destruction with newly created ipc_clearEvents()
Move the IPC init & destroy code beneath IPC events code
Release locks in ipc_destroy()