Resubscribe to notifications when forked

Make sure that we have an active subscriber in the case that it's not
active any more in the parent process. Also log number of events when
the transaction is not added to the queue to make any problems with
subscribing easier to debug.