Fixes Samba access plugin hanging frequently 

Fixes Samba hanging frequently by applying the instructions available at http://www.php.net/manual/en/function.proc-open.php#81317.

PS. Pull request #378 closed because I was not able to fix them properly. CLA was signed on 4th Dec 2013.