this function does not terminate process. It simply shuts down PIL library.
When writing applications for
ISDC one should not use PILCLOSE directly. Instead, one should call
COMMONEXIT function (from Common
library) which calls PILCLOSE.