Bug 977372 - Close IPC'd filedescriptor from device descriptor when finished with it. r=mikeh