playerendpoint: Reduce critial region to avoid deadlocks

Change-Id: I03f0ff15e3676242672c522eab2f880f901fc78e