prepare abstract action for retry when losing db connection.