Added a timed send function