get_data function
send functions. todo: fix send_timeout during high load