Clear data after sending response