Make receive synchronized to allow multiple incoming connections