Fixes #4215 smart-proxy needlessly creates tmp/pids directory

(cherry picked from commit a25e7b9505dcfd32205d7ab451618347bb086515)
Release 1.4.1