disconnect() now accept timeout argument as first

BUGFIXES: fclose(null), deprecated split() replaced by explode()