Trying to fix jenkins file descriptor leak bug