Close SQL connections after use
Kill/cleanup activity when it is stopped