looped message receive and send