Thread-safety for managed receivers, minor cleanup