Perform task after commit