prevent ignoring write command in iOS7
write as background thread

It should not block the UI.