powerhal: close boost file descriptor after use