Changed join() to commit() as requested