<?php pfsockopen("foo"); pfsockopen("foo"); ?> Where the transport fails to connect (since args are bogus); the problem was that the persistent stream entry was not correctly freed.