Switch back to apply_thread instead of apply_message, not sure why this was changed to begin with.