synchroniously sending message