Moved post-block write tasks in cal, btc-a, btc-c lock functions to outside of lock function
Moved post-block write tasks in cal, btc-a, btc-c lock functions to outside of lock function

chainpoint/chainpoint-services,chainpoint/chainpoint-services