execution of php script after closing of the http connection