return null if no transaction is active with current thread.