fix: close the file descriptor in get_win_title() (#245)
this would eventually end up opening too many fds and erroring out with "too many open files".
This commit is contained in:
this would eventually end up opening too many fds and erroring out with "too many open files".