pothos-library: add call to query pid