Only call rx handler if it was provided.