Hook close function and in case of the closed file descriptor is 2
(stderr) disable igprof_debug.

Issue: https://github.com/ktf/igprof/issues/19