ARTEMIS-3854: use Process.pid() rather than reflection