Fixed bug in local_drive causing terminate when using IPC.