Added subscribeOn instead of submitting a task to the thread pool.