Before everything, check your SRC !!!
Take that delete out of the while! The read buffer should be deleted only one, at the end, when you're done with it.

Regards