pidof can potentially return a pid from other users. Use pgrep -U instead. (cherry picked from commit 124a0105)