add limit for submission buffer (#41)