automated disconnection based on time limit; Added documentation with docco!