Batch requests, prevent from sending empty messages to main thread.

@JakeWharton