close php socket