allow pid instead of atom for send calls