Add timeout argument to the poll function in the Java CloudI API. Make the PHP CloudI API cause asserts to exit to keep all the external programming language behavior consistent.