Use synchronization when awaiting events.

Should fix https://github.com/square/okhttp/issues/616
Merge pull request #696 from square/jwilson_0416_recording_push_observer

Use synchronization when awaiting events.