Added handle on main thread marshalling for replies