support for configuring listener count and time intervals. resolves #156