No exception shall be thrown by web socket writer

Change-Id: Ia40dc352af22d16fb9d287f917311f689900f2b1