Updated receive_samples_async.py to use actual code instead of test code