Connection handler from bma